﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Sys;
using Benefit.Models.Month;
namespace Benefit.Interface.Month
{
    /// <summary>
    /// 小组周累计基本数据
    /// </summary>
    public interface IGroupMonthSum
    {

        /// <summary>
        /// 删除当月所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int month, int year);

        /// <summary>
        /// 保存月小组累计值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitGroupMonthSum(int month, int year);
        GroupMonthSum GetGroupMonthSum(int groupid, int month, int year);


        List<GroupMonthSum> GetMonthSum(int groupId, int year);

        List<GroupMonthSum> GetGroupMonthSum(int month, int year);
    }
}